*{
    margin: 0;
    padding: 0;
}
body{
    position: relative;
    background: #F2F2F2;
    #user_model{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba($color: #000000, $alpha: 0.3);
        >section{
            display: flex;
            flex-direction: column;
            padding: 10px;
            position: absolute;
            top: 15%;
            left: 30%;
            width: 550px;
            height: 400px;
            background: #fff;
            z-index: 999;
            border-radius: 10px;
            >div{
                &:nth-child(1){
                    display: flex;
                    justify-content: space-between;
                    .icon-cuowu{
                        font-size: 30px;
                    }
                }
                &:nth-child(2){
                    box-sizing: border-box;
                    padding: 10px 20px;
                    background: #0099FF;
                    .icon-jinggao{
                        font-size: 20px;
                        color: #fff;
                    }
                }
            }
            >table{
                flex-grow: 1;
                tr{
                    position: relative;
                    td{
                        #imgshow{
                            width: 50px;
                            vertical-align: middle;
                        }
                        #uname{
                            height: 40px;
                            padding: 10px;
                            box-sizing: border-box;
                        }
                        &:nth-child(3){
                            >b{
                                position: absolute;
                                top: 30%;
                                right: 0;
                                color: #CFCFCF;
                                font-size: 14px;
                                font-weight: 400;
                            }
                        }
                    }
                }
            }
            >section{
                width: 100%;
                display: flex;
                justify-content: flex-end;
                >button{
                    color: #fff;
                    border: none;
                    border-radius: 5px;
                }
                #cancel{
                    width: 20%;
                    height: 40px;
                    margin-right: 10px;
                    background: #999999;
                }
                #save{
                    width: 30%;
                    height: 40px;
                    background: #0066CC;
                }
            }
        }
    }
    main{
        width: 65%;
        margin: 0 auto;
        >ul{
            list-style: none;
            display: flex;
            color: #fff;
            margin: 20px 0;
            justify-content: space-between;
            >li{
                display: flex;
                justify-content: center;
                width: 120px;
                height: 40px;
                text-align: center;
                line-height: 40px;
                border-radius: 5px;
                >i{
                    margin-left: 20px;
                    font-size: 20px !important;
                }
                &:nth-child(1){
                    background: rgb(0, 153, 51);
                }
                &:nth-child(2){
                    background: rgb(0, 204, 204);
                }
                &:nth-child(3){
                    background: rgb(0, 102, 204);
                }
                &:nth-child(4){
                    background: rgb(0, 204, 255);
                }
                &:nth-child(5){
                    background: rgb(0, 153, 204);
                }
            }
        }
        >section{
            background: #fff;
            >nav{
                display: flex;
                justify-content: space-between;
                align-items: center;
                color: gray;
                border-bottom: 2px solid rgb(246, 246, 246);
                .wraper{
                    position: relative;
                    >ul{
                        position: relative;
                        display: flex;
                        list-style: none;
                        >li{
                            padding: 0 60px;
                            height: 40px;
                            text-align: center;
                            line-height: 40px;
                            background-size: 0 100%;
                            color: #808080;
                            transition: all 0.3s linear;
                            &:nth-child(1){
                                width: 32px;
                            }
                            &:nth-child(2){
                                width: 100px;
                            }
                            &:nth-child(3){
                                width: 80px;
                            }
                        }
                        .active{
                            color: #fff;
                        }
                    }
                    #backGeound{
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 152px;
                        height: 40px;
                        background: linear-gradient(to right,rgb(49,211,252),rgb(152,163,255)) no-repeat;
                        transition: all 0.3s linear;
                    }
                }
                >p{
                    margin-right: 50px;
                    >i{
                        color: red;
                        font-weight: 700;
                        font-size: 22px !important;
                        margin-right: 10px;
                    }
                }
                #rank_model{
                    display: none;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    z-index: 999;
                    #rank_content{
                        position: absolute;
                        top: 5%;
                        left: 30%;
                        width: 500px;
                        height: 500px;
                        list-style: none;
                        // padding: 20px;
                        border: 20px solid transparent;
                        background: #fff;
                        overflow: auto;
                        box-shadow: 0 0 10px 10px #ccc;
                        &::-webkit-scrollbar {
                            display: none;
                        }
                        >li{
                            padding: 10px 0;
                            display: flex;
                            justify-content: space-between;
                            >i{
                                margin-right: 10px;
                                font-style: normal;
                            }
                        }
                    }
                }
            }
            >article{
                #home{
                    padding: 10px 30px;
                    >div{
                        display: flex;
                        justify-content: space-between;
                        width: 100%;
                        height: 150px;
                        padding: 20px 40px;
                        color: #fff;
                        background: linear-gradient(to right,rgb(10, 207, 254),rgb(73,90,255));
                        box-sizing: border-box;
                        >section{
                            &:nth-child(1){
                                display: flex;
                                flex-direction: column;
                                justify-content: space-between;
                                width: 70%;
                                >p{
                                    font-size: 20px;
                                    height: 40%;
                                }
                                >div{
                                    display: flex;
                                    height: 60%;
                                    >div{
                                        display: flex;
                                        flex-direction: column;
                                        justify-content: space-between;
                                        margin-right: 30px;
                                        p{
                                            font-family: '微软雅黑';
                                            font-size: 30px;
                                            font-weight: 600;
                                        }
                                    }
                                }
                            }
                            &:nth-child(2){
                                display: flex;
                                flex-direction: column;
                                align-items: flex-end;
                                justify-content: space-between;
                                width: 40%;
                                >div{
                                    width: 60%;
                                    height: 40px;
                                    line-height: 20px;
                                    padding: 10px;
                                    background: #0066CC;
                                    border: 2px solid #1764DC;
                                    box-sizing: border-box;
                                    >i{
                                        margin-left: 30px;
                                    }
                                }
                                >ul{
                                    display: flex;
                                    flex-direction: row;
                                    list-style: none;
                                    >li{
                                        width: 25px;
                                        height: 25px;
                                        text-align: center;
                                        line-height: 25px;
                                        border: 2px solid #fff;
                                        margin: 0 1px;
                                        border-radius: 50%;
                                    }
                                    .isSign{
                                        position: relative;
                                        &::before{
                                            content: '✓';
                                            position: absolute;
                                            right: -1px;
                                            bottom: -1px;
                                            width: 10px;
                                            height: 10px;
                                            font-size: 10px;
                                            font-weight: 700;
                                            line-height: 10px;
                                            color: #bfa;
                                            background: #fff;
                                            border-radius: 50%;
                                        }
                                    }
                                }
                            }
                        }
                    }
                    >article{
                        width: 100%;
                        margin-top: 20px;
                        >ul{
                            list-style: none;
                            >li{
                                display: flex;
                                justify-content: space-between;
                                align-items: center;
                                padding: 20px;
                                margin: 20px 0;
                                background: #f2f2f2;
                                height: 50px;
                                box-sizing: border-box;
                                >div{
                                    position: relative;
                                    margin-right: 10px;
                                    select{
                                        border: none;
                                        width: 100px;
                                        height: 35px;
                                        background: #009900;
                                        color: #fff;
                                        border-radius: 5px;
                                        padding: 0 10px;
                                        outline: none;
                                        appearance: none;
                                        .color{
                                            width: 100%;
                                            height: 20px;
                                            padding-top: 100px;
                                            background: rgba($color: #fff, $alpha: 0.5);
                                        }
                                    }
                                    .triangle{
                                        position: absolute;
                                        top: 35%;
                                        right: 15px;
                                        content: '';
                                        display: block;
                                        border: 10px solid #fff;
                                        border-left: 10px solid transparent;
                                        border-right: 10px solid transparent;
                                        border-bottom: 10px solid transparent;
                                    }
                                }
                            }
                        }
                        #notice{
                            height: 100px;
                            overflow: hidden;
                            transition: all 0.5s linear;
                            >li{
                                height: 1px;
                                overflow: hidden;
                                >p{
                                    display: flex;
                                    align-items: center;
                                    >i{
                                        margin-left: 10px;
                                        color: red;
                                        padding: 1px;
                                        font-style: normal;
                                        font-size: 12px;
                                    }
                                }
                            }
                        }
                        #notice_model{
                            position: absolute;
                            top: 0;
                            left: 0;
                            background: rgba($color: #000000, $alpha: 0.3);
                            width: 100%;
                            height: 100%;
                            overflow: auto;
                            >div{
                                position: absolute;
                                top: 15%;
                                left: 35%;
                                width: 400px;
                                height: 500px;
                                background: #fff;
                                padding: 10px;
                                >p{
                                    width: 100%;
                                    margin: 10px 0;
                                    display: flex;
                                    justify-content: space-between;
                                    >span{
                                        display: block;
                                        width: 300px;
                                        height: 20px;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                    }
                                    >i{
                                        margin-left: 20px;
                                    }
                                    >.icon-cuowu{
                                        font-size: 30px;
                                    }
                                }
                                >div{
                                    >span{
                                        font-size: 14px;
                                        margin-right: 40px;
                                        color: #BABABA;
                                    }
                                    &:nth-child(2){
                                        margin-bottom: 10px;
                                    }
                                }
                                #notice_content{
                                    width: 100%;
                                    height: 80%;
                                    overflow: auto;
                                }
                            }
                        }
                        
                    }
                    >footer{
                        width: 100%;
                        text-align: center;
                        padding: 40px 0;
                        box-shadow: 0 0 100px 100px rgba(255, 255, 255, 0.6);
                        >button{
                            height: 40px;
                            width: 40%;
                            background: #fff;
                            border: 1px solid #bfa;
                        }
                    }
                }
                .topic{
                    overflow: hidden;
                    position: relative;
                    margin: 30px 20px;
                    height: 420px;
                    >article{
                        position: relative;
                        width: 500px;
                        height: 400px;
                        overflow: hidden;
                        .wrape{
                            position: absolute;
                            top: 0;
                            left: 0;
                            display: flex;
                            list-style: none;
                            transition: all 0.3s linear;
                            >li{
                                width: 500px;
                                padding: 10px;
                                box-sizing: border-box;
                                >p{
                                    font-size: 18px;
                                }
                                >ul{
                                    margin-top: 20px;
                                    list-style: none;
                                    >li{
                                        display: flex;
                                        align-items: center;
                                        margin: 10px 0;
                                        >i{
                                            display: block;
                                            width: 30px;
                                            height: 30px;
                                            text-align: center;
                                            line-height: 30px;
                                            font-style: normal;
                                            border-radius: 50%;
                                            color: #333;
                                            background: #f2f2f2;
                                            margin-right: 10px;
                                        }
                                    }
                                }
                                >section{
                                    display: flex;
                                    justify-content: space-between;
                                    margin: 30px 0;
                                    button{
                                        border: none;
                                        color: #fff;
                                        height: 40px;
                                        border-radius: 5px;
                                        background: linear-gradient(to right,#4EAEFE,#01F0FE);
                                    }
                                    >button{
                                        width: 100px;
                                    }
                                    >div{
                                        width: 40%;
                                        display: flex;
                                        justify-content: space-between;
                                        >button{
                                            width: 80px;
                                        }
                                    }
                                }
                                .collection_resolution{
                                    width: 100%;
                                    height: 100px;
                                    overflow: auto;
                                    padding: 10px 0;
                                    box-sizing: border-box;
                                    &::-webkit-scrollbar {
                                        display: none;
                                    }
                                }
                                .error_resolution{
                                    position: relative;
                                    >div{
                                        position: absolute;
                                        top: 0;
                                        right: 0;
                                        width: 40px;
                                        text-align: center;
                                        background: red;
                                        color: #fff;
                                        font-size: 14px;
                                        padding-left: 0 50px;
                                    }
                                }
                            }
                        }
                        >aside{
                            position: relative;
                            border: 1px solid #F4F4F4;
                            overflow: hidden;
                            >p{
                                margin: 10px 0;
                                padding: 0 10px;
                            }
                            >div{
                                position: absolute;
                                top: 10px;
                                right: 10px;
                                color: #fff;
                                width: 50px;
                                height: 25px;
                                text-align: center;
                                line-height: 25px;
                                font-size: 14px;
                                background: #FF0000;
                                box-sizing: border-box;
                            }
                        }
                    }
                    >aside{
                        position: absolute;
                        top: 0;
                        right: 10px;
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        width: 35%;
                        height: 90%;
                        padding: 0 20px;
                        box-sizing: border-box;
                        box-shadow: 0 0 10px 5px #ccc;
                        >div{
                            display: flex;
                            height: 30px;
                            justify-content: space-between;
                            margin: 20px 0;
                            /* Switch开关样式 */
                            input[type='checkbox'].switch {
                                outline: none;
                                appearance: none;
                                -webkit-appearance: none;
                                -moz-appearance: none;
                                position: relative;
                                width: 45px;
                                height: 20px;
                                background: #ccc;
                                border-radius: 15px;
                                transition: border-color .3s, background-color .3s;
                            }
                    
                            input[type='checkbox'].switch::after {
                                content: '';
                                display: inline-block;
                                width: 1rem;
                                height: 1rem;
                                border-radius: 50%;
                                background: #fff;
                                box-shadow: 0, 0, 2px, #999;
                                transition: .4s;
                                top: 2px;
                                position: absolute;
                                left: 2px;
                            }
                    
                            input[type='checkbox'].switch:checked {
                                background: #0079FE;
                            }
                    
                            /* 当input[type=checkbox]被选中时：伪元素显示下面样式 位置发生变化 */
                            input[type='checkbox'].switch:checked::after {
                                content: '';
                                position: absolute;
                                left: 60%;
                                top: 2px;
                            }
                        }
                        >section{
                            display: flex;
                            align-content: flex-start;
                            flex-wrap: wrap;
                            width: 100%;
                            flex-grow: 1;
                            overflow: auto;
                            &::-webkit-scrollbar {
                                display: none;
                            }
                            >div{
                                position: relative;
                                float: left;
                                width: 40px;
                                height: 40px;
                                text-align: center;
                                line-height: 40px;
                                background: #F2F2F2;
                                margin: 10px;
                                >i{
                                    position: absolute;
                                    left: 30%;
                                    bottom: -30%;
                                    display: block;
                                }
                                .icon-cuowu{
                                    color: red;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    #msg{
        display: none;
        position: absolute;
        top: 45%;
        left: 45%;
        padding: 10px;
        color: #fff;
        border-radius: 5px;
        background: linear-gradient(to right,rgb(49,211,252),rgb(152,163,255)) no-repeat;;
    }
}